package com.vsd.domain;
import javax.persistence.Entity;


import javax.persistence.Id;

import javax.persistence.Table;

import javax.persistence.Column;

import java.util.Date;


@Entity
@Table(name="f_coupon")
public class Coupon {

	@Id
	private String id;
	@Column(name="source")
	private Integer source;
	@Column(name="store_id")
	private String storeId;
	@Column(name="type")
	private Integer type;
	@Column(name="full")
	private Integer full;
	@Column(name="value")
	private Integer value;
	@Column(name="info")
	private String info;
	@Column(name="total")
	private Integer total;
	@Column(name="begin_time")
	private Date beginTime;
	@Column(name="end_time")
	private Date endTime;
	@Column(name="flag")
	private Integer flag;
	@Column(name="color")
	private String color;
	@Column(name="img")
	private String img;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public Integer getSource(){
		return source;
	}
	public void setSource(Integer source){
		this.source = source;
	}
	public String getStoreId(){
		return storeId;
	}
	public void setStoreId(String storeId){
		this.storeId = storeId;
	}
	public Integer getType(){
		return type;
	}
	public void setType(Integer type){
		this.type = type;
	}
	public Integer getFull(){
		return full;
	}
	public void setFull(Integer full){
		this.full = full;
	}
	public Integer getValue(){
		return value;
	}
	public void setValue(Integer value){
		this.value = value;
	}
	public String getInfo(){
		return info;
	}
	public void setInfo(String info){
		this.info = info;
	}
	public Integer getTotal(){
		return total;
	}
	public void setTotal(Integer total){
		this.total = total;
	}
	public Date getBeginTime(){
		return beginTime;
	}
	public void setBeginTime(Date beginTime){
		this.beginTime = beginTime;
	}
	public Date getEndTime(){
		return endTime;
	}
	public void setEndTime(Date endTime){
		this.endTime = endTime;
	}
	public Integer getFlag(){
		return flag;
	}
	public void setFlag(Integer flag){
		this.flag = flag;
	}
	public String getColor(){
		return color;
	}
	public void setColor(String color){
		this.color = color;
	}
	public String getImg(){
		return img;
	}
	public void setImg(String img){
		this.img = img;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	
}
